home *** CD-ROM | disk | FTP | other *** search
/ The Games Machine 76 / XENIATGM66.iso / Indiana Jones / Indiana Jones.exe / RESOURCE / PREVIEW.GOB / cog_tem_hutconfalls.cog < prev    next >
Text File  |  1999-11-15  |  1KB  |  52 lines

  1. # Jones 3D Cog Script
  2. #
  3. # TEM_HutConFalls.cog
  4. #
  5. # [TRM]
  6. #
  7. # (C) 1999 LucasArts Entertainment Co. All Rights Reserved
  8. # ========================================================================================
  9.  
  10. symbols
  11.  
  12.     message     startup
  13.     message        entered
  14.     
  15.     sector      sec_Done
  16.     sector      sec0
  17.     sector      sec1
  18.     
  19.     vector      vec_Direction
  20.     
  21.     int         done=0          local
  22.     
  23. end
  24.  
  25. # ========================================================================================
  26.  
  27. code
  28.  
  29. startup:
  30.  
  31.     SetSectorThrust(sec0, vec_Direction, 0.6);
  32.     SetSectorThrust(sec1, vec_Direction, 0.6);
  33.  
  34.     return;
  35.  
  36. # ========================================================================================
  37.  
  38. entered:
  39.  
  40.     if((GetSenderRef() == sec_Done) && (done == 0))
  41.     {
  42.         done=1;
  43.         SetSectorThrust(sec0, vec_Direction, 0.0);
  44.         SetSectorThrust(sec1, vec_Direction, 0.0);
  45.     }
  46.     
  47.     return;
  48.  
  49. # ========================================================================================
  50.  
  51. end
  52.